package com.ruoyi.tester.executor;

import com.ruoyi.tester.domain.TaskInterfaceEffectiveInfo;

/**
 * @author SongJun
 * @description TODO:
 * @date 2022/4/15 15:46
 */
public class CallTaskResult {
    private String statusCode;
    private String response;
    private Boolean success;
    private TaskInterfaceEffectiveInfo interfaceInfo;

    public CallTaskResult(String statusCode, String response, Boolean success, TaskInterfaceEffectiveInfo interfaceInfo) {
        this.statusCode = statusCode;
        this.response = response;
        this.success = success;
        this.interfaceInfo = interfaceInfo;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getResponse() {
        return response;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public TaskInterfaceEffectiveInfo getInterfaceInfo() {
        return interfaceInfo;
    }

    public void setInterfaceInfo(TaskInterfaceEffectiveInfo interfaceInfo) {
        this.interfaceInfo = interfaceInfo;
    }
}
